#include <commandList.h>
#include <commandSetReadSN.h>
#include <commandSetAddressBySN.h>
#if COMMAND_MASTER_CALL_DEFINE
struct hashCommandActuatorInform masterCommandReceiveCallbackList[] = {
    {masterCallbackSetReadSN, NULL},
    {masterCallbackSetAddressBySN, NULL},
};
// struct hashCommandActuatorInform masterCommandSendList[] = {
//     {masterSendReadVersion, NULL},
// };
// struct hashCommandActuatorInform masterCommandWaitResponseList[] = {
//     {masterWaitResponseSetReadSN, NULL},
// };
// int masterCommandSendCommon(uint32_t commandId, void *inputstring, uint32_t inputsize, void *userdata)
// {
//     return hashCommandActuatorDirect(masterCommandSendList, ARRAY_LEN(masterCommandSendList),
//                                      commandId, inputstring, inputsize, userdata);
// }
// int masterCommandWaitResultCommon(uint32_t commandId, void *inputstring, uint32_t inputsize, void *userdata)
// {
//     return hashCommandActuatorDirect(masterCommandWaitResponseList, ARRAY_LEN(masterCommandWaitResponseList),
//                                      commandId, inputstring, inputsize, userdata);
// }
#endif
#if COMMAND_DEVICE_CALL_DEFINE
struct hashCommandActuatorInform deviceCommandReceiveCallbackBuffer[] = {
    {deviceCallbackSetReadSN, NULL},
    {deviceCallbackSetAddressBySN, NULL},
};
#endif